package com.group.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 商品spu表
 * 
 * @author gxx
 * @email hongyezhaofang.com
 * @date 2021-11-13 10:36:51
 */
@Data
@TableName("shop_spu")
public class ShopSpuEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 商品规格id
	 */
	@TableId
	private Integer shopSpuId;

	/*
	商品id
	 */
	@NotNull(message = "商品id不能为空")
	private Integer shopSkuId;
	/*
	 * 商品规格名称
	 */
	@NotBlank(message = "商品规格名称不能为空")
	private String shopSpuName;
	/**
	 * 商品规格
	 */
	@NotBlank(message ="商品规格不能为空")
	private String shopSpuDescribe;
	/**
	 * 商品规格属性
	 */
	@NotBlank(message = "商品规格属性不能为空")
	private String shopSpuParameter;

}
